<%@ Page Language="VB" AutoEventWireup="false" MasterPageFile="~/MasterPage.master" CodeFile="Registration.aspx.vb" Inherits="Registration" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div>
    <h3>
      Register to TripTracker
    </h3>
      <center>
          <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>&nbsp;<br />
          <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Logon.aspx" Visible="False">Go back to the login page</asp:HyperLink><br />
        <!-- sign-in -->
          <asp:Panel ID="Panel1" runat="server" Height="233px" Width="752px">
        <asp:ValidationSummary ID="valSum" runat="server" HeaderText="You must enter a valid value in the following fields:"
          DisplayMode="SingleParagraph" Font-Names="verdana" Font-Size="12" />
              <br />
              <br />
        <table border="0" width="600">
          <tr>
            <td colspan="3">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                  <td>
                    <b>Sign-In Information</b>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td align="right">
              Username:
            </td>
            <td>
              <asp:TextBox ID="username" Width="200px" MaxLength="60" runat="server" />
            </td>
            <td>
              <asp:RequiredFieldValidator ID="emailReqVal" ControlToValidate="username" ErrorMessage="Username. "
                Display="Dynamic" Font-Names="Verdana" Font-Size="12" runat="server">
            *
              </asp:RequiredFieldValidator>
            </td>
          </tr>
          <tr style="font-family: Times New Roman">
            <td align="right">
              Password:
            </td>
            <td>
              <asp:TextBox ID="passwd" TextMode="Password" MaxLength="20" runat="server" />
            </td>
            <td>
              <asp:RequiredFieldValidator ID="passwdReqVal" ControlToValidate="passwd" ErrorMessage="Password. "
                Display="Dynamic" Font-Names="Verdana" Font-Size="12" runat="server">
              *
              </asp:RequiredFieldValidator>
              <asp:RegularExpressionValidator ID="passwdRegexBal" ControlToValidate="passwd" ErrorMessage="Password. "
                ValidationExpression=".*[!@#$%^&*+;:].*" Display="Static" Font-Names="Arial" Font-Size="11"
                Width="100%" runat="server">
              Password must include one of these (!@#$%^&amp;*+;:)
              </asp:RegularExpressionValidator>
            </td>
          </tr>
          <tr style="font-family: Times New Roman">
            <td align="right">
              Re-enter Password:
            </td>
            <td>
              <asp:TextBox ID="passwd2" TextMode="Password" MaxLength="20" runat="server" />
            </td>
            <td>
              <asp:RequiredFieldValidator ID="passwd2ReqVal" ControlToValidate="passwd2" ErrorMessage="Re-enter Password. "
                Display="Dynamic" Font-Names="Verdana" Font-Size="12" runat="server">
            *
              </asp:RequiredFieldValidator>
              <asp:CompareValidator ID="CompareValidator1" ControlToValidate="passwd2" ControlToCompare="passwd"
                ErrorMessage="Re-enter Password. " Display="Static" Font-Names="Arial" Font-Size="11"
                runat="server">
            Password fields don't match
              </asp:CompareValidator>
            </td>
          </tr>
          <tr style="font-family: Times New Roman">
            <td colspan="3">
              &nbsp;</td>
          </tr>
          <!-- TripTracker information -->
          <tr style="font-family: Times New Roman">
            <td colspan="3">
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                  <td>
                    <b>TripTracker Information</b>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr style="font-family: Times New Roman">
            <td align="right">
              Choose a Group:
            </td>
            <td>
                <asp:DropDownList ID="groupList" runat="server" DataValueField="gname" DataTextField = "gname">
                </asp:DropDownList>
            </td>
            <td>
              </td>
          </tr>
          <tr style="font-family: Times New Roman">
            <td align="right" style="height: 20px">
              Your Color:
            </td>
            <td style="height: 20px">
              <asp:TextBox ID="color" MaxLength="40" Width="200px" runat="server" />
            </td>
            <td style="height: 20px">
            </td>
          </tr>
        </table>
              <br />
          <input id="Submit1" runat="server" type="submit" value="Register now!"/></asp:Panel>
          &nbsp;<br /><br />
          &nbsp;
          <br />
      </center>
</div>

</asp:Content>

